@charset "UTF-8";

//设计稿宽度
@media (min-width: 1200px){
    .container-fluid{
        width: 1000px;
    }
}


//首页
//LayaFlash引擎部分媒体移动端
//移动端去除背景图、title文字居中大小调整
@media (max-width: 768px) {
    .LayaFlash {
        padding-bottom: 20px;
        .gg {
            background: none;
            .LayaFlash-msg {
                padding-bottom: 0;
                //标题文字居中
                .layaflash-title {
                    padding-top: 37px;
                    padding-left: 15px;
                    //标题样式
                    p:first-of-type {
                        font-size: 1.5em;
                        text-align: center;
                    }
                    //第二行样式
                    p:last-of-type {
                        font-size: 1.42em;
                        padding-top: 30px;
                    }
                }
                //4个介绍
                .layaflash-introduce {
                    padding-top: 30px;
                }
            }
        }
    }
}
//Layabox优势
//移动端处理标题文字大小及居中
@media (max-width: 768px){
    .layabox{
        background-position: top 70px right 20px;
        .layabox-content{
            padding-top: 400px;
            padding-bottom: 20px;
            border-bottom: 1px solid #eaeaee;
            .layabox-title{
                text-align: center;
                p{
                    font-size: 1.5em;
                }
            }
        }
    }
}
//layabox产品家族
//移动端标题大小居中
@media (max-width: 768px){
    .layabox-family{
        padding-top: 40px;
        .family-title{
            p{
                font-size: 1.5em;
            }
        }
        .family-six{
            padding-bottom: 0;
            .family{
                height: 290px;
                .layaimg{
                    text-align: center;   
                }
                .laya-msg{
                    padding-top: 20px;
                }
            }
        }
    }
}
//Layabox游戏
//移动端媒体查询
@media (max-width: 768px){
    .layaboxGames{
        padding-top: 35px;
        padding-bottom: 35px;   
        .games-title{
            padding-bottom: 20px;
            p{
                font-size: 1.5em;
            }
        }
        .games-vedio{
            margin-left: 24px;
            margin-bottom: 15px;
            video{
                
            }
        }
        a{
            display: none;
        }
    }
}
//合作渠道
@media (max-width: 768px){
    .layaboxTeam{
        padding-top: 15px;
        padding-bottom: 15px;
        .team-title{
            span:first-of-type{
                font-size: 2em;
            }
            span:last-of-type{
                font-size: 10px;
            }
        }
    }
}
//尾部
@media (max-width: 768px){
    footer{
        padding-bottom: 20px;
        .follow{
            display: none;
        }
    }
}
//end




//family页
@media (max-width: 768px){
    //layaflash
    .layaflash{
        padding-top: 20px;
        padding-bottom: 45px;
        .container-fluid{
            padding-bottom: 346px;
            background-position: right 50px bottom 0;
            background-size: 289px;
            //标题
            .layaflash-title{
                padding-bottom: 0;
            }  
            //正文介绍
            .layaflash-content{
                p{
                    line-height: 30px;
                }
            }         
        }
    }
    //layaAir&LayaOpen
    .air-and-open{
        //左边layaAir
        .layaAir{
            padding-bottom: 128px;
            background: url(../img/open_03.png);
            background-repeat: no-repeat;
            background-position:  right 60px bottom;
        }
        //右边layaOpen
        .layaOpen{
            padding-bottom: 128px;
            padding-top: 50px;
            background: url(../img/open_05.png);
            background-repeat: no-repeat;
            background-position:  right 60px bottom;
        }
        //底部图片
        .layaOpen-img{
            display: none;
        }
    }
    //LayaStore&LayaPublish
    .Store-and-Publis{
        //左边LayaStore
        .layaStore{
            padding-bottom: 128px;
            background: url(../img/Store_03.png);
            background-repeat: no-repeat;
            background-position:  right 60px bottom;
        }
        //右边LayaPublish
        .layaPublish{
            padding-bottom: 128px;
            padding-top: 50px;
            background: url(../img/Store_06.png);
            background-repeat: no-repeat;
            background-position:  right 60px bottom;
        }
        //底部图片
        .layaOpen-img{
            display: none;
        }
    }
}
//end

//games页
@media(max-width: 768px){
    .hot{
        .container-fluid{
            .lr2{
                padding-top: 138px;
                .lr2-lefy-img{
                    display: none;
                }
                .lr2-content{
                    .lr2-p{
                        font-size: 12px;
                    }
                    .lr2-img{
                        margin-left: 0;
                    }
                }
            }
            .sbgz{
                padding-bottom: 50px;
                .sbgz-lefy-img{
                    display: none;
                }
                .sbgz-content{
                    .sbgz-p{
                        font-size: 12px;
                    }
                    .sbgz-img{
                        margin-left: 0;
                    }
                }
            }
        }
        .red-content{
            left: 16px;
            .triangle-down{
                border-bottom: 14px solid white;
            }
        }
    }
    //更多案例
    .more-case{
        .row{
            //标题
            .more-case-title{
                padding-bottom: 10px;            
            }      
            //游戏集
            .games-set{
                margin-bottom: 18px;
                //hover
                .games-more-hover{
                    width: 84%;
                    height: 62%;
                    p{
                        width: 100%;
                        height: 100%;
                        font-size: 9px;
                        padding: 10px 0px;
                        margin: 0;
                        overflow: scroll;
                    }
                }
            }    
        }

    }
}


//news页
@media (max-width: 768px){
    //主要内容
    .content{
        .row{
            //标题
            .news-title{
                padding-top: 10px;
                padding-bottom: 10px;
            }
            //3个热点新闻
            .hot-news{
                .three-news{
                    padding-bottom: 20px;
                    span{
                        display: none;
                    }
                }   
            }
            //主要新闻展示
            .news-content{
                .row{
                   .news{
                       margin-bottom: 10px;
                       //右边内容
                       .news-right{
                           //标题
                           .news-right-title{
                               padding: 0;
                               p{
                                   font-size: 14px;
                                   color: black;
                               }
                           }
                           //日期
                           .news-right-day{
                               padding: 0;
                               p{
                                  font-size: 14px;
                                   color: black; 
                               }
                           }
                           //摘要&查看
                           .news-right-zy,a{
                               display: none;
                           }
                       }
                   } 
                }
            }
        }
    }
}


//us页
@media (max-width: 768px){
    .content{
        padding-top: 50px;
        padding-bottom: 50px;
        .row{
            //公司简介
            .company-profile{
                //左边文字内容
                .left-profile{
                    p:nth-of-type(2){
                        margin-bottom: 20px;
                        font-size: 16px;
                        font-weight: 300;
                        line-height: 1.4;
                    }
                    p:nth-of-type(3),p:last-of-type{
                        line-height: 30px;
                        text-indent: 25px;
                    }
                }
            }
            //右边图片
            .right-img{
                padding-top: 20px;
            }
        }
    }
    //人才招聘
    .jobs{
        padding-top: 90px;
        padding-bottom: 50px;
        .row{
            //右边内容
            .jobs-right{
                padding: 0px 30px;
                padding-top: 30px;
            }
        }
    }
}
